package com.brspace.qualitycontrol.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author Hugo
 * @since 2021-04-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="PublishFile对象", description="")
public class PublishFile implements Serializable {

    private static final long serialVersionUID=1L;

    @ApiModelProperty(value = "id自增")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "文件路径")
    private String file;

    @ApiModelProperty(value = "关联发文id")
    private String pId;

    @ApiModelProperty(value = "文件名称")
    private String fileName;

    @ApiModelProperty(value = "文件类型(0:发文中上传的文件,1:发文本身)")
    private Integer fileType;

    @ApiModelProperty(value = "wFileT的id")
    private String wId;

}
